import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)
import Signin from '@/components/SignIn/SignIn'
const Home = () => import('@/components/Home/Home')
const PermissionManage = () => import('@/components/Home/System/PermissionManage')
export default new Router({
  routes: [
    {
      path:'/',
      redirect:{name:'Home'}
    },
    {
      path:'/Home',
      component:Home,
      name:'Home',
      children:[
        {path:'PermissionManage',name:'权限管理',component:PermissionManage}
      ]
    },
    {
      path: '/Signin',
      name: 'Signin',
      component: Signin
    }
  ]
})
